import React from "react"

import SvgIcon from "@/components/common/svgIcon"
interface SystemLogoProps {
	hasText?: boolean
	color: string
	iconStyle?: { [key: string]: any }
}
export const SystemLogo: React.FC<SystemLogoProps> = ({ hasText = false, color, iconStyle }) => {
	return (
		<div>
			{hasText ? (
				<SvgIcon name="logo-text" color={color} iconStyle={iconStyle} />
			) : (
				<SvgIcon name="logo" color={color} iconStyle={iconStyle} />
			)}
		</div>
	)
}
